require 'rake'
require 'rubygems'
require 'rake/testtask'
require 'rake/rdoctask'
require 'lib/rubicant'
require 'rake/gempackagetask'

task :test do
	require 'rake/runtest'
	Rake.run_tests 'test/**/*.rb'
end

spec = Gem::Specification.new do |s| 
  s.name = "Rubicant"
  s.version = "0.0.1"
  s.author = "mendicant"
  s.email = "mendicant@beigesunshine.com"
  s.homepage = "http://blog.beigesunshine.com"
  s.platform = Gem::Platform::RUBY
  s.summary = ".Net Build Framework in Ruby"
  s.files = FileList["lib/**/*"].to_a
  s.require_path = "lib"
  s.autorequire = "rubicant"
  s.test_files = FileList["test/**/when*.rb"].to_a
  s.has_rdoc = false
  s.extra_rdoc_files = []
  s.add_dependency("configatron", ">= 2.1.6")
  s.add_dependency("rake", ">= 0.8.3")
end
 
Rake::GemPackageTask.new(spec) do |pkg|
    pkg.need_zip = true
    pkg.need_tar = true
end